{* Smarty *}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="{$str.locale}">
<head>
	<title>{$title}</title>
	<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
	<link rel="stylesheet" href="/css/base.css" media="all" />
</head>
<body>
	<div class="cwrap">
		{include file='base.include.exitbtn.tpl'}
		<h4>{$str.PDA}: {$str.newpmessage}</h4>
		<table>
			<tr>
				<td>
					<form action="/" method="POST">
						<input type="hidden" name="m" value="pda" />
						<input type="hidden" name="d" value="map" />
						<input type="submit" value="{$str.map}" />
					</form>
				</td>
				<td>
					<form action="/" method="POST">
						<input type="hidden" name="m" value="pda" />
						<input type="hidden" name="d" value="top" />
						<input type="submit" value="{$str.top}" />
					</form>
				</td>
				<td>
					<form action="/" method="POST">
						<input type="hidden" name="m" value="pda" />
						<input type="hidden" name="d" value="sms" />
						<input type="submit" value="{$str.sms}" />
					</form>
				</td>
				<td>
					<form action="/" method="POST">
						<input type="hidden" name="m" value="pda" />
						<input type="hidden" name="d" value="glossary" />
						<input type="submit" value="{$str.glossary}" />
					</form>
				</td>
			</tr>
		</table>
		<form action="/" method="POST">
			<table class="aw">
				<tr>
					<td>
						<h4>{$str.recepient}: {$r.name}</h4>
						<input type="hidden" name="m" value="message" />
						<input type="hidden" name="d" value="send" />
						<input type="hidden" name="i" value="{$r.id}" />
					</td>
				</tr>
				<tr>
					<td>
						<p>{$str.msgtext}:</p>
					</td>
				</tr>
				<tr>
					<td>
						<textarea class="aw" name="msgtext"></textarea>
					</td>
				</tr>
				<tr>
					<td>
						<input type="submit" value="{$str.send}" />
					</td>
				</tr>
			</table>
		</form>
		<form action="/" method="POST">
			<input type="hidden" name="m" value="idle" />
			<input type="submit" value="{$str.cancel}" />
		</form>
	</div>
</body>
